package business;

import util.LogicalOperators;
import util.PointcutDesignator;
import util.PointcutTypes;

public class Pointcut{
	private String linesToAct;
	private String pointcutId;
	private PointcutTypes type;
	private Formals functionFormals;
	private String functionIdentifier;
	private PointcutDesignator designator;
	private LogicalOperators logicalOperator;

	private boolean isInNetlogoCode;

	public Pointcut(String pointcutId, PointcutTypes type, 
			String functionIdentifier, Formals functionFormals, 
			String linesToAct, PointcutDesignator designator, 
			LogicalOperators logicalOperator) {
		this.type = type;
		this.pointcutId = pointcutId;
		this.designator = designator;
		this.linesToAct = linesToAct;
		this.functionFormals = functionFormals;
		this.logicalOperator = logicalOperator;
		this.functionIdentifier = functionIdentifier;
	}

	public String getPointcutId() {
		return pointcutId;
	}

	public PointcutTypes getType() {
		return type;
	}

	public Formals getFunctionFormals() {
		return functionFormals;
	}

	public String getFunctionIdentifier() {
		return functionIdentifier;
	}

	public PointcutDesignator getDesignator() {
		return designator;
	}

	public LogicalOperators getLogicalOperator() {
		return logicalOperator;
	}

	public boolean isInNetlogoCode() {
		return isInNetlogoCode;
	}
	
	public String getLinesToAct() {
		return linesToAct;
	}

	public void setInNetlogoCode(boolean isInNetlogoCode) {
		this.isInNetlogoCode = isInNetlogoCode;
	}
}
